<%@ include file="/common/taglibs.jsp"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="org.slf4j.Logger,org.slf4j.LoggerFactory"%>

<%
	Throwable ex = null;
	if (exception != null)
		ex = exception;
	if (request.getAttribute("javax.servlet.error.exception") != null)
		ex = (Throwable) request
				.getAttribute("javax.servlet.error.exception");

	//记录日志
	Logger logger = LoggerFactory.getLogger("500.jsp");
	logger.error(ex.getMessage(), ex);
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Spring3-MiniWeb | 500</title>

<!-- CSS  -->
<link href="<c:url value="/resources/blueprint/screen.css" />"
	rel="stylesheet" type="text/css" />
<link href="<c:url value="/resources/style.css" />" rel="stylesheet"
	type="text/css" />

<!-- JS Library -->
<script type="text/javascript"
	src="<c:url value="/resources/jquery/1.4/jquery.js" />"></script>
</head>
<body>
	<div class="container">
		<%@ include file="/common/header.jsp"%>
		<div id="content">
			<div class="span-24 last">
				<h1>系统发生内部错误.(500)!</h1>
				<a href="<c:url value="/"/>">返回首页</a>
			</div>
		</div>
		<%@ include file="/common/footer.jsp"%>
	</div>
</body>
</html>
